package com.itheima02.day06;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author 刘全
 * @date 2021/7/22
 */
public class Test2 {
    public static void main(String[] args) {
        String s = "1949-10-01";
        LocalDate.parse(s, DateTimeFormatter.ofPattern("yyyy-MM-dd"));
        System.out.println();
        LocalDateTime date = LocalDateTime.now();


    }
}
